import static org.junit.Assert.*;

import java.io.IOException;

import javax.swing.JFrame;

import org.junit.Test;


public class QuizControllerTest
{

	@Test
	public void testStart() throws IOException
	{
		Quiz quiz = new Quiz("A.qz");
		quiz.read();
		
		JFrame frame = new JFrame();
		QuizController ctrl = new QuizController(frame, quiz);
		
		frame.pack();
		//frame.setVisible(true);	
		ctrl.go();
	}

}
